<?php

namespace App\Repositories\Teacher;

use App\Models\Teacher\Composition;
use App\Presenters\Teacher\CompositionPresenter;
use App\Repositories\BaseRepository;
use App\Validators\Teacher\CompositionValidator;
use Prettus\Repository\Criteria\RequestCriteria;

class CompositionRepositoryEloquent extends BaseRepository implements CompositionRepository{
    public function model(){
        return Composition::class;
    }

    public function validator(){
        return CompositionValidator::class;
    }

    public function boot(){
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return CompositionPresenter::class;
    }
}
